from flask import Flask
from flask_login import LoginManager
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__,
            template_folder='templates',

            )

app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+mysqldb://root:root@localhost:3306/thinkstation'
app.secret_key = '1145141433223'
db=SQLAlchemy(app)
login_manager = LoginManager(app)

from routes import user_routes
from routes import segment_routes
from routes import styleCLIP_routes
from service.segment.AutomaticDemonstration import mouse_click_back,IncomingCoordinatePoint






# from routes import user_routes
# from DBMoodls.User import User
# app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://root:root@localhost:3306/thinkstation'
# db = SQLAlchemy(app)
